/*
 * @Author: fhw
 * @Date: 2022-07-17 13:35:20
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2022-12-24 13:58:11
 * @Description:
 */
import { forwardRef, Module } from '@nestjs/common'
import { ArticleService } from './article.service'
import { ArticleController } from './article.controller'
import { ArticleList } from './entities/article.entity'
import { TypeOrmModule } from '@nestjs/typeorm'
import { Tags } from '../article_tag/entities/article_tag.entity'
import { CommentList } from '../article_comment/entities/article_comment.entity'
import { ChatUserModule } from 'src/chat_user/chat_user.module'
@Module({
  imports: [TypeOrmModule.forFeature([ArticleList, Tags, CommentList]), forwardRef(() => ChatUserModule),],
  controllers: [ArticleController],
  providers: [ArticleService],
})
export class ArticleModule { }
